using System;
using System.Collections.Generic;
using System.Text;
using DotExe.Core.Web;
using DotExe.Core.DataSources;

namespace WebSMSApp.Forms
{
    public partial class EmployeeListForm : ClientApplication
    {
        EmployeeDetailsForm agent = new EmployeeDetailsForm();

		public EmployeeListForm()
			: base()
		{
			this.Loaded += new System.EventHandler(EmployeeListForm_Load);
			this.Started += new System.EventHandler(EmployeeListForm_Started);
		}
		
		//occures after datasources and trigger configuration loads
		protected void EmployeeListForm_Load(object sender, EventArgs e)
		{
			InitializeComponent();
			
			//initialize custom data sources and triggers
		}
		
		//ocurres on everytime form starts
		protected void EmployeeListForm_Started(object sender, EventArgs e)
		{
		
		}
		
		protected virtual void btnSearchAgentClick(object sender, EventArgs e)
		{
			
		}
		protected virtual void btnEditAgentClick(object sender, EventArgs e)
		{
			
		}
		protected virtual void btnAddAgentClick(object sender, EventArgs e)
		{
            agent.StartModal();
		}
		protected virtual void btnDeleteAgentClick(object sender, EventArgs e)
		{
			
		}

		protected virtual void gvAgentsCellClick(object sender, EventArgs e)
		{
			
		}
		protected virtual void gvAgentsCellDoubleClick(object sender, EventArgs e)
		{
			
		}

		protected virtual void AppEmployeeListFormFormClosed(object sender, EventArgs e)
		{
			
		}
    }
}